package cn.zk.domain;
import java.util.Date;

/**
 * 保证消息不被重复消费
 */
public class MqMessage {
    /**
     * 消息ID
     */
    private String messageId;
    /**
     * 消费时间
     */
    private Date time;
    /**
     * 消费队列名称
     */
    private String queueName;

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }
}
